home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 98 / Skunkware 98.iso / src / mail / db.1.85.tar.gz / db.1.85.tar / db.1.85 / PORT / irix.4.05F / OTHER_PATCHES < prev   
Text File  |  1993-11-16  |  805b  |  33 lines

  1. *** PORT/db/btree/bt_open.c.dist    Thu Sep 16 14:42:22 1993
  2. --- PORT/db/btree/bt_open.c    Mon Nov  8 07:03:40 1993
  3. ***************
  4. *** 256,262 ****
  5. --- 256,266 ----
  6.            * Don't overflow the page offset type.
  7.            */
  8.           if (b.psize == 0) {
  9. + #ifndef sgi
  10.               b.psize = sb.st_blksize;
  11. + #else
  12. +             b.psize = 4096;
  13. + #endif /* sgi */
  14.               if (b.psize < MINPSIZE)
  15.                   b.psize = MINPSIZE;
  16.               if (b.psize > MAX_PAGE_OFFSET + 1)
  17. *** PORT/db/hash/hash.c.dist    Thu Nov  4 15:32:16 1993
  18. --- PORT/db/hash/hash.c    Mon Nov  8 07:05:12 1993
  19. ***************
  20. *** 301,307 ****
  21. --- 301,311 ----
  22.       if (file != NULL) {
  23.           if (stat(file, &statbuf))
  24.               return (NULL);
  25. + #ifndef sgi
  26.           hashp->BSIZE = statbuf.st_blksize;
  27. + #else
  28. +         hashp->BSIZE = 4096;
  29. + #endif /* sgi */
  30.           hashp->BSHIFT = __log2(hashp->BSIZE);
  31.       }
  32.   
  33.